import request from "../../request.js";
//查询所属用户收支明细
export const getOrderIncomeInfo = (params)=>{
	return request.post('/app/distribution/user/detail',params)
}
//查询订单分账明细
export const getOrderBillInfo = (id)=>{
	return request.get(`/app/distribution/order/${id}`)
}
//提现
export const applyWithdraw = (params)=>{
	return request.post('/app/distribution/order/withdrawal',params)
}
//余额
export const getBalance = ()=>{
	return request.get('/app/distribution/merchant/balance')
} 
//获取提现整数倍
export const getWithdrawSum = ()=>{
	return request.get('/app/distribution/getWithdrawalMultiple')
}